/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client.modele;

import Exceptions.InputAnnuiteException;
import Exceptions.InputChoixException;
import Exceptions.InputMontantException;
import Exceptions.InputNbAnException;
import Exceptions.InputTxInteretException;
import exception.CommunicationResponseApplicationException;
import exception.ReadingObjectException;

/**
 *
 * @author Florian Minin
 */
public interface InterfaceModele {
    
    public double envoyerDemandeAnnuites(double montant, double txInterets, int nbAnnuite) throws CommunicationResponseApplicationException,InputAnnuiteException, InputChoixException,
                                                                                           InputTxInteretException, InputMontantException,
                                                                                           InputMontantException, InputNbAnException, ReadingObjectException;
    
    public double envoyerDemandeNbAnnees(double montant, double txInterets, double annuite) throws CommunicationResponseApplicationException,InputAnnuiteException, InputChoixException,
                                                                                           InputTxInteretException, InputMontantException,
                                                                                           InputMontantException, InputNbAnException, ReadingObjectException;
}
    
